package com.jpa.demo.bean;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>Title:Category</p>
 * <p>Description:</p>
 * @company sinobest 
 * @author Administrator
 * @date 2016年10月9日 上午1:23:12
 * 
 */
@Entity
@Table(name="t_category")
public class Category implements Serializable {

	/** serialVersionUID*/
	private static final long serialVersionUID = 3643306438185220692L;
	
	@Id
	private Integer id;
	private String name;
	@Column(name="create_time")
	private Date createTime;
	private String type;//种类
	private String type_ZN;//中文
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getType_ZN() {
		return type_ZN;
	}
	public void setType_ZN(String type_ZN) {
		this.type_ZN = type_ZN;
	}

}
